Only check console_use_vt during initialization.
br260@labyrinth.cl.cam.ac.uk
br260@laudney.cl.cam.ac.uk
bren@anvil.research
+cl349@arcadians.cl.cam.ac.uk
cl349@freefall.cl.cam.ac.uk
cl349@labyrinth.cl.cam.ac.uk
cwc22@centipede.cl.cam.ac.uk
goto got_driver;
}
#ifdef CONFIG_VT
- if (console_use_vt && device == MKDEV(TTY_MAJOR,0)) {
+ if (device == MKDEV(TTY_MAJOR,0)) {
extern int fg_console;
extern struct tty_driver *console_driver;
driver = console_driver;
if (!memcmp(&tmp_ws, &tty->winsize, sizeof(*arg)))
return 0;
#ifdef CONFIG_VT
- if (console_use_vt && tty->driver->type == TTY_DRIVER_TYPE_CONSOLE) {
+ if (tty->driver->type == TTY_DRIVER_TYPE_CONSOLE) {
unsigned int currcons = tty->index;
int rc;